<?php
	class RoundModel {
		
		private $id;
		private $nome;
		private $dataInicio;
		private $dataFim;
		private $duracaoTick;
		private $qtdeTick;

		public function __construct() { }
		
		public function getId() {
			return $this->id;
		}
		
		public function setId($temp) {
			$this->id = $temp;
		}
		
		public function getNome() {
			return $this->nome;
		}
		
		public function setNome($temp) {
			$this->nome = $temp;
		}
		
		public function getDataInicio() {
			return $this->dataInicio;
		}
		
		public function setDataInicio($temp) {
			$this->dataInicio = $temp;
		}
		
		public function getDataFim() {
			return $this->dataFim;
		}
		
		public function setDataFim($temp) {
			$this->dataFim = $temp;
		}
		
		public function getDuracaoTick() {
			return $this->duracaoTick;
		}
		
		public function setDuracaoTick($temp) {
			$this->duracaoTick = $temp;
		}
		
		public function getQtdeTick() {
			return $this->qtdeTick;
		}
		
		public function setQtdeTick($temp) {
			$this->qtdeTick = $temp;
		}
		
		public function toJSONObject() { 
			return array(
				"id" => $this->id,
				"nome" => $this->nome,
				"dataInicio" => $this->dataInicio,
				"dataFim" => $this->dataFim,
				"duracaoTick" => $this->duracaoTick,
				"qtdeTick" => $this->qtdeTick
			);
		}
	}
?>